home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / netmail / yep13.zip / YX-11.ZIP / MOONDAYS.DOC < prev    next >
Text File  |  1996-01-28  |  854b  |  20 lines

  1. MOONDAYS is a simple program that prints to standard output the current
  2. "age" (or "phase") of the moon.
  3.  
  4. The calculation is not exact (as that is extremely complex, to say the
  5. least), but should be accurate to within one day; or on rare occassions two
  6. days. The formula used is based on that of P. Harvey, published in the
  7. "Journal of the British Astronomical Association", July 1941.
  8.  
  9. The program reports the moon's "age" in days. On the following days,
  10. however, it will (roughly) report:
  11.  
  12.                        day 0 :  New moon!
  13.                        day 7 :  First Quater!
  14.                        day 15:  Full moon!
  15.                        day 22:  Last Quarter!
  16.  
  17. There is one command line switch that may be used wiht MOONDAYS. If you
  18. specify /N on the command line then NO newline character is printed at the
  19. end of the output.
  20.